package com.lanou.student.mapper;

import java.util.Arrays;
import java.util.Objects;

import com.lanou.student.bean.User;
import com.lanou.student.util.PasswordUtil;

public interface UserMapper {

	boolean regester(User user);


	/**
	 * userName：null 根据email email：null，根据userName
	 *
	 * @param userName
	 * @param email
	 * @return
	 */
	User getUser(String userName, String email);

    boolean resetPassword(User u);
}
